package com.myex.demo.model;
import java.io.Serializable;
import java.util.Date;

public class OrderRecord implements Serializable {

    /**
     * 	`id` int(64) not null auto_increment,
     * 	`user_id` varchar(64) default null comment '订单所属用户Id',
     * 	`goods_id` varchar(64) default null comment '商品Id',
     * 	`pay_status` int(1) default null comment '支付状态 0-超时未支付  1-已支付  2-待支付',
     * 	`create_time` datetime default null,
     * 	`update_time` datetime default null,
     * 	`num` int(4) DEFAULT NULL COMMENT '购买数量',
     * 	primary key (`id`)
     *
     */

    private String userId;
    private String goodsId;
    private int payStatus;
    private int num;
    private String id;
    private Date createTime;
    private Date updateTime;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
